[주의!] 문서의 이전 버전(에 수정)을 보고 있습니다. 최신 버전으로 이동
이 문서는 분류가 되어 있지 않습니다. 분류:분류에서 적절한 분류를 찾아 문서를 분류해주세요!
1. 개요 [편집]
위키엔진 the tree의 설치법을 다룬 문서
2. 설치방법 [편집]
2.1. apt update [편집]
sudo apt update && sudo apt upgrade -y2.2. nvm 설치 [편집]
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bashwget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash2.3. nvm 22 버전 설치 [편집]
nvm install 222.4. pm2 설치 [편집]
npm install pm2 -g3. MongoDB 설치 [편집]
3.1. 공개키 가져오기 [편집]
curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \
--dearmor3.2. 목록 파일 만들기 [편집]
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.2.list3.3. 패키지 업데이트 [편집]
sudo apt-get update3.4. 설치 [편집]
sudo apt-get install -y mongodb-org3.5. 실행확인 [편집]
sudo systemctl status mongod실행이 안되고 있다면
sudo systemctl start mongod